<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet  [
	<!ENTITY nbsp   "&#160;">
	<!ENTITY copy   "&#169;">
	<!ENTITY reg    "&#174;">
	<!ENTITY trade  "&#8482;">
	<!ENTITY mdash  "&#8212;">
	<!ENTITY ldquo  "&#8220;">
	<!ENTITY rdquo  "&#8221;"> 
	<!ENTITY pound  "&#163;">
	<!ENTITY yen    "&#165;">
	<!ENTITY euro   "&#8364;">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="lib/widgets.xsl" />
<xsl:output method="html" encoding="utf-8"/>

<xsl:include href="tree.xsl" />
<xsl:template name="menuEdit" match="/">
<table width="100%" id="eded">
  <tr>
    <td valign="top" id="tree" width="100">
    <xsl:call-template name="bee_tree" >
	<xsl:with-param name="top" select="/form/others/o1" />
</xsl:call-template>		</td>
    <td style="vertical-align:top">
      <span style=" border-bottom:dotted 1px; margin-left:30px; font-weight:bold; cursor:pointer; width:100%"><xsl:call-template name="bee_php_link">
        <xsl:with-param name="id">novi</xsl:with-param>
        </xsl:call-template>new item</span>
			<xsl:if test="form/arrays/__request/value[@key='sys_action']">
      <form method="post" action="index.php">
        <table style="margin:20px">
          <tr>
            <th colspan="2" scope="row">&nbsp;            </th>
          </tr>
          <tr>
            <th scope="row">id</th>
            <td><input readonly="readonly" type="text" size="4" >
                <xsl:call-template name="bee_php_input">
                  <xsl:with-param name="id">id</xsl:with-param>
                </xsl:call-template>
                </input>            </td>
          </tr>
          <tr>
            <th scope="row">name</th>
            <td><input type="text" >
                <xsl:call-template name="bee_php_input">
                  <xsl:with-param name="id">name</xsl:with-param>
                </xsl:call-template>
                </input>            </td>
          </tr>
          <tr>
            <th scope="row">description</th>
            <td><textarea name="textarea" cols="45" rows="5">
        <xsl:call-template name="bee_php_inputarea">
				<xsl:with-param name="id">description</xsl:with-param>
			</xsl:call-template>
        </textarea>            </td>
          </tr>
          <tr>
            <th scope="row">command</th>
            <td><input type="text" name="textfield" id="textfield" >
                <xsl:call-template name="bee_php_input">
                  <xsl:with-param name="id">command</xsl:with-param>
                </xsl:call-template>
                </input>            </td>
          </tr>
          <tr>
            <th scope="row">ord_nr</th>
            <td><input type="text" >
                <xsl:call-template name="bee_php_input">
                  <xsl:with-param name="id">ord_nr</xsl:with-param>
                </xsl:call-template>
                </input></td>
          </tr>
          <tr>
            <th scope="row">active</th>
            <td><select name="select">
                <xsl:call-template name="bee_php_option">
                  <xsl:with-param name="id">active</xsl:with-param>
                </xsl:call-template>
              </select>            </td>
          </tr>
          <tr>
            <th scope="row">parent</th>
            <td><select name="select">
                <xsl:call-template name="bee_php_option">
                  <xsl:with-param name="id">parent</xsl:with-param>
                </xsl:call-template>
            </select></td>
          </tr>
          <tr>
            <th scope="row">type</th>
            <td><select name="select">
                <xsl:call-template name="bee_php_option">
                  <xsl:with-param name="id">type</xsl:with-param>
                </xsl:call-template>
            </select></td>
          </tr>
          <tr>
            <th scope="row">&nbsp;</th>
            <td><input type="button" class="gumb" style="cursor:pointer" >
                <xsl:call-template name="bee_php_button">
                  <xsl:with-param name="id">pohrani</xsl:with-param>
                </xsl:call-template>
                </input>            </td>
          </tr>
          <tr>
            <th scope="row">&nbsp;</th>
            <td><input type="button" class="gumb" style="cursor:pointer" >
             <xsl:call-template name="bee_php_button">
                  <xsl:with-param name="id">brisi</xsl:with-param>
                </xsl:call-template></input>            </td>
          </tr>
        </table>
      </form>
    </xsl:if></td>
  </tr>
</table>
</xsl:template>
</xsl:stylesheet>